package com.provider.entity;

import java.time.LocalDateTime;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * 项目需求池(TProductDemandPool)表实体类
 *
 * @author makejava
 * @since 2024-04-28 10:32:32
 */
@SuppressWarnings("serial")

@Data
public class TProductDemandPool extends Model<TProductDemandPool> {

    private String demandPoolId;

    private String id;
    //优先级

    private String priority;
    //备注，详细描述
    private String remark;

    private String productId;
    //1.未绑定 2. 已分配
    private Integer status;

    private String responsible;

    private String targetName;
    //Y 有效 N 无效
    private String isValid;
    //来源 1. excel 2. 同步
    private String source;
    //需求的种类 1. 开发需求 2. 新增功能 3. 功能改进 4. 界面优化 5. bug修复 6.运营需求
    private String demandPoolType;
    //提出人
    private String introducer;
    //提出时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(value = "introduce_time", fill = FieldFill.INSERT)
    private LocalDateTime introduceTime;
    //父子id
    private String pid;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    private String createUser;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    private String updateUser;

    private int seq;

    private String version;


}

